# -*- coding: utf-8 -*-
from wineAreas import RegionArea, regionClassGenerator, FranceArea
from qtcommon import tr

# define this region classes
BeaujolaisArea , BeaujolaisAppellation, BeaujolaisGroup, newgroup = regionClassGenerator("Beaujolais", tr("Beaujolais") , FranceArea)


                                                                        
# fill the specifics to this region. we put it in a function so it is invoked only when needed.
def createRegion():
    BeaujolaisArea._cepages = [
        ["Gamay"],
        [],
        []
        ]

    
    r = BeaujolaisArea()
    r.addAppellations( [
        u"Beaujolais",
        u"Beaujolais-Villages",
        u"Brouilly",
        u"Chénas",
        u"Chiroubles",
        u"Côte-De-Brouilly",
        u"Fleurie",
        u"Juliénas",
        u"Morgon",
        u"Moulin-À-Vent",
        u"Régnié",
        u"Saint-Amour",
        ]

                       )
    return r
